nhooyr.io/websocket.Conn.close (method)

15 uses

	nhooyr.io/websocket (current package)
		close.go#L116: 	c.close(nil)
		close.go#L173: 	defer c.close(nil)
		conn.go#L131: 		c.close(errors.New("connection garbage collected"))
		conn.go#L149: func (c *Conn) close(err error) {
		conn.go#L197: 			c.close(fmt.Errorf("write timed out: %w", writeCtx.Err()))
		conn.go#L247: 		c.close(err)
		conn.go#L285: 		m.c.close(err)
		read.go#L225: 			c.close(err)
		read.go#L255: 			c.close(err)
		read.go#L325: 	c.close(err)
		read.go#L340: 		c.close(fmt.Errorf("failed to get reader: %w", err))
		read.go#L415: 		mr.c.close(err)
		write.go#L162: 			mw.c.close(err)
		write.go#L286: 			c.close(err)
		write.go#L397: 	c.close(nil)